func test_if_expression_suite() {
    println("=== If Expression Test ===")
    
    // Test 1: Simple if expression
    println("\nTest 1: Simple if expression")
    var x int = 10
    var result int = if x > 5 { 100 } else { 200 }
    println("result =", result)
    
    // Test 2: if-else if-else expression  
    println("\nTest 2: if-else if-else expression")
    var score int = 85
    var grade String = if score >= 90 {
        "A"
    } else if score >= 80 {
        "B"
    } else if score >= 70 {
        "C"
    } else {
        "F"
    }
    println("grade =", grade)
    
    // Test 3: Nested if expression
    println("\nTest 3: Nested if expression")
    var a int = 15
    var b int = 20
    var max int = if a > b { a } else { b }
    println("max =", max)
    
    // Test 4: if expression with calculations
    println("\nTest 4: if expression with calculations")
    var value int = if x > 0 { x * 2 } else { x * 3 }
    println("value =", value)
    
    println("\n=== All if expression tests passed! ===")
}
